## API Report File for "@backstage/types"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
// @public
export function durationToMilliseconds(duration: HumanDuration): number;

// @public
export type HumanDuration = {
  years?: number;
  months?: number;
  weeks?: number;
  days?: number;
  hours?: number;
  minutes?: number;
  seconds?: number;
  milliseconds?: number;
};

// @public
export interface JsonArray extends Array<JsonValue> {}

// @public
export type JsonObject = {
  [key in string]?: JsonValue;
};

// @public
export type JsonPrimitive = number | string | boolean | null;

// @public
export type JsonValue = JsonObject | JsonArray | JsonPrimitive;

// @public
export type Observable<T> = {
  [Symbol.observable](): Observable<T>;
  subscribe(observer: Observer<T>): Subscription;
  subscribe(
    onNext?: (value: T) => void,
    onError?: (error: Error) => void,
    onComplete?: () => void,
  ): Subscription;
};

// @public
export type Observer<T> = {
  next?(value: T): void;
  error?(error: Error): void;
  complete?(): void;
};

// @public
export type Subscription = {
  unsubscribe(): void;
  readonly closed: boolean;
};
```
